|
|
| glAppProp (const std::string &n, int i=-1) |
| | constructor
|
| |
|
| ~glAppProp () |
| | destructor
|
| |
|
std::string | kind () const |
| | identifies the property
|
| |
|
void | clear () |
| | set default values
|
| |
|
void | read (Glossary &) |
| | set from a Glossary
|
| |
|
Property * | clone () const |
| | return a carbon copy of object
|
| |
|
void | write_data (std::ostream &) const |
| | write all values
|
| |
|
| Property (const std::string &n, const int index=-1) |
| | constructor must provide a name
|
| |
|
virtual | ~Property () |
| | destructor
|
| |
|
std::string | name () const |
| | return identifier for instantiation
|
| |
|
void | name (const std::string &n) |
| | change name
|
| |
|
bool | is_named (const std::string &n) |
| | true if 'name' matches
|
| |
|
int | index () const |
| | index, unique among all Property of similar kind()
|
| |
|
void | index (int x) |
| | set index in the array of Properties
|
| |
|
bool | modified () const |
| | true if at least one value is different than its default setting
|
| |
| void | readString (std::string &, char stamp) |
| | set from a string, return number of values assigned More...
|
| |
|
void | readFile (const char file[]) |
| | set from a string, return number of values assigned
|
| |
| virtual void | complete (SimulProp const *sp, PropertyList *plist) |
| | set variables derived from the parameters, and check consistency of values More...
|
| |
|
void | write_diff (std::ostream &, const Property *ref) const |
| | write only values that differ from the ones specified in ref
|
| |
|
void | write_diff (std::ostream &, bool prune) const |
| | if ( prune == true ), write values that differ from the default values
|
| |
| void | write (std::ostream &, bool prune=false) const |
| | write header + data More...
|
| |
|
| int | buffered |
| | flag to use a double buffer for smoother rendering (default=1) More...
|
| |
| int | depth_test |
| | flag to enable OpenGL depth buffer (default=1) More...
|
| |
|
int | stencil_buffer |
| | flag to enable OpenGL stencil buffer (default=0)
|
| |
| int | depth_clamp |
| | flag to perform depth-clamp (default=false) More...
|
| |
| int | multisample |
| | enables OpenGL full scene anti-aliasing (default=0) More...
|
| |
|
int | full_screen |
| | flag to switch to full-screen mode
|
| |
|
int | show_fps |
| | flag to the current frame rate
|
| |
|
int | show_message |
| | flag to display information on screen
|
| |
|
std::string | label |
| | string added at the start of message_left
|
| |
|
std::string | message |
| | text displayed in center of window
|
| |
|
std::string | message_left |
| | the label on the bottom left of window
|
| |
|
std::string | message_right |
| | the labe on the bottom right of window
|
| |
|
|
template<typename C > |
| static void | write_param (std::ostream &os, std::string const &name, C const &c) |
| | formatted output of one parameter
|
| |
|
template<typename C > |
| static void | write_param (std::ostream &os, std::string const &name, C const *c, int cnt) |
| | formatted output of one parameter
|
| |
|
template<typename C , typename D > |
| static void | write_param (std::ostream &os, std::string const &name, C const &c, D const &d) |
| | formatted output of one parameter
|
| |
|
template<typename C , typename D , typename E > |
| static void | write_param (std::ostream &os, std::string const &name, C const &c, D const &d, E const &e) |
| | formatted output of one parameter
|
| |
|
template<typename C , typename D , typename E , typename F > |
| static void | write_param (std::ostream &os, std::string const &name, C const &c, D const &d, E const &e, F const &f) |
| | formatted output of one parameter
|
| |